package org.groupg.hutool;

import cn.hutool.core.lang.Console;
import cn.hutool.poi.excel.sax.handler.RowHandler;

import java.util.List;

public class MyExcelRowHandler implements RowHandler {

    @Override
    public void handle(int sheetIndex, long rowIndex, List<Object> rowCells) {
        Console.log("[{}] [{}] {}", sheetIndex, rowIndex, rowCells);
    }

    @Override
    public void handleCell(int sheetIndex, long rowIndex, int cellIndex, Object value, org.apache.poi.ss.usermodel.CellStyle xssfCellStyle) {
        RowHandler.super.handleCell(sheetIndex, rowIndex, cellIndex, value, xssfCellStyle);
    }

    @Override
    public void doAfterAllAnalysed() {
        RowHandler.super.doAfterAllAnalysed();
    }
}
